package com.jingding.procurement.util;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
//当前时间格式
public class TimeFormat {
    public static String secondTime(){
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
        LocalDateTime now = LocalDateTime.now();
        return now.format(dateTimeFormatter);
    }

}
